# -*- coding:utf-8 -*-
__author__ = 'harumonia'

from app import create_app

app = create_app()

# print(app.config['JSON_AS_ASCII'])    # 注意大写
print('first app', id(app))
# print(__name__=='__main__')

from app.stage import stage  # 此时可以注释掉main

# @app.route('/')
# def hello_world():
#     return 'index~'


if __name__ == '__main__':
    print('main app', id(app))
    app.run(debug=app.config['DEBUG'])
